Optimal. Leaf size=66 \[ c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}-b c d \sqrt{c^2 x^2+1}-b c d \tanh ^{-1}\left (\sqrt{c^2 x^2+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0814023, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 7, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.318, Rules used = {14, 5730, 12, 446, 80, 63, 208} \[ c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}-b c d \sqrt{c^2 x^2+1}-b c d \tanh ^{-1}\left (\sqrt{c^2 x^2+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5730
Rule 12
Rule 446
Rule 80
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\left (d+c^2 d x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{x^2} \, dx &=-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-(b c) \int \frac{d \left (-1+c^2 x^2\right )}{x \sqrt{1+c^2 x^2}} \, dx\\ &=-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-(b c d) \int \frac{-1+c^2 x^2}{x \sqrt{1+c^2 x^2}} \, dx\\ &=-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-\frac{1}{2} (b c d) \operatorname{Subst}\left (\int \frac{-1+c^2 x}{x \sqrt{1+c^2 x}} \, dx,x,x^2\right )\\ &=-b c d \sqrt{1+c^2 x^2}-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )+\frac{1}{2} (b c d) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{1+c^2 x}} \, dx,x,x^2\right )\\ &=-b c d \sqrt{1+c^2 x^2}-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )+\frac{(b d) \operatorname{Subst}\left (\int \frac{1}{-\frac{1}{c^2}+\frac{x^2}{c^2}} \, dx,x,\sqrt{1+c^2 x^2}\right )}{c}\\ &=-b c d \sqrt{1+c^2 x^2}-\frac{d \left (a+b \sinh ^{-1}(c x)\right )}{x}+c^2 d x \left (a+b \sinh ^{-1}(c x)\right )-b c d \tanh ^{-1}\left (\sqrt{1+c^2 x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0265772, size = 74, normalized size = 1.12 \[ a c^2 d x-\frac{a d}{x}-b c d \sqrt{c^2 x^2+1}-b c d \tanh ^{-1}\left (\sqrt{c^2 x^2+1}\right )+b c^2 d x \sinh ^{-1}(c x)-\frac{b d \sinh ^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 69, normalized size = 1.1 \begin{align*} c \left ( da \left ( cx-{\frac{1}{cx}} \right ) +db \left ({\it Arcsinh} \left ( cx \right ) cx-{\frac{{\it Arcsinh} \left ( cx \right ) }{cx}}-\sqrt{{c}^{2}{x}^{2}+1}-{\it Artanh} \left ({\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}} \right ) \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.09682, size = 89, normalized size = 1.35 \begin{align*} a c^{2} d x +{\left (c x \operatorname{arsinh}\left (c x\right ) - \sqrt{c^{2} x^{2} + 1}\right )} b c d -{\left (c \operatorname{arsinh}\left (\frac{1}{\sqrt{c^{2}}{\left | x \right |}}\right ) + \frac{\operatorname{arsinh}\left (c x\right )}{x}\right )} b d - \frac{a d}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.61708, size = 346, normalized size = 5.24 \begin{align*} \frac{a c^{2} d x^{2} - b c d x \log \left (-c x + \sqrt{c^{2} x^{2} + 1} + 1\right ) + b c d x \log \left (-c x + \sqrt{c^{2} x^{2} + 1} - 1\right ) - \sqrt{c^{2} x^{2} + 1} b c d x -{\left (b c^{2} - b\right )} d x \log \left (-c x + \sqrt{c^{2} x^{2} + 1}\right ) - a d +{\left (b c^{2} d x^{2} -{\left (b c^{2} - b\right )} d x - b d\right )} \log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} d \left (\int a c^{2}\, dx + \int \frac{a}{x^{2}}\, dx + \int b c^{2} \operatorname{asinh}{\left (c x \right )}\, dx + \int \frac{b \operatorname{asinh}{\left (c x \right )}}{x^{2}}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (c^{2} d x^{2} + d\right )}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]